package com.bj58.ecdata.dashboard.dbentity;

import java.util.HashMap;
import java.util.Map;

import com.bj58.ecdata.dao.annotation.NotDBColumn;
import com.bj58.ecdata.dao.annotation.Table;
import com.bj58.ecdata.dashboard.annotation.DBName;

@Table(name = "t_income_board_income")
@DBName
public class IncomeKPIBusinessUp {

	@NotDBColumn
	private static final Map<String, String> nameMap = new HashMap<String, String>();

	{
		nameMap.put("jingzhun", "精准");
		nameMap.put("zhiding", "置顶");
		nameMap.put("zhineng", "智能");
		nameMap.put("shuaxin", "刷新");
		nameMap.put("jianli", "简历");
		nameMap.put("qita", "其他");
		nameMap.put("pinpaiguanggao", "品牌广告");
		nameMap.put("pindaohezuo", "频道合作");
		nameMap.put("lianmeng", "联盟");
		nameMap.put("all", "总体");

		nameMap.put("ershou", "二手");
		nameMap.put("ershoutuiguang", "二手推广");
		nameMap.put("ershouchuangxin", "二手创新");
		nameMap.put("ershouche", "二手车");
		nameMap.put("zhaopin", "招聘");
		nameMap.put("fangchan", "房产");
		nameMap.put("huangye", "黄页");
	}

	/**
	 * 业务类型中文名
	 * 
	 * @return
	 */
	public String getProductTypeName() {
		return nameMap.get(this.getProduct_type());
	}

	public String getBusinessTypeName() {
		return nameMap.get(this.getBusiness_type());
	}

	private String stat_date;

	private String month_num;

	private String week_num;

	private String start_date;

	private String end_date;

	private String stat_type;

	private String product_type;

	private String business_type;

	private int cash;

	private String cash_chain;

	private String cash_YOY;

	private int cost;

	private String cost_chain;

	private String cost_YOY;

	private int user_num;

	private String user_num_chain;

	private String user_num_YOY;

	private int arpu;

	private String arpu_chain;

	private String arpu_YOY;

	public String getStat_date() {
		return stat_date;
	}

	public void setStat_date(String stat_date) {
		this.stat_date = stat_date;
	}

	public String getMonth_num() {
		return month_num;
	}

	public void setMonth_num(String month_num) {
		this.month_num = month_num;
	}

	public String getWeek_num() {
		return week_num;
	}

	public void setWeek_num(String week_num) {
		this.week_num = week_num;
	}

	public String getStart_date() {
		return start_date;
	}

	public void setStart_date(String start_date) {
		this.start_date = start_date;
	}

	public String getEnd_date() {
		return end_date;
	}

	public void setEnd_date(String end_date) {
		this.end_date = end_date;
	}

	public String getStat_type() {
		return stat_type;
	}

	public void setStat_type(String stat_type) {
		this.stat_type = stat_type;
	}

	public String getProduct_type() {
		return product_type;
	}

	public void setProduct_type(String product_type) {
		this.product_type = product_type;
	}

	public String getBusiness_type() {
		return business_type;
	}

	public void setBusiness_type(String business_type) {
		this.business_type = business_type;
	}

	public int getCash() {
		return cash;
	}

	public void setCash(int cash) {
		this.cash = cash;
	}

	public String getCash_chain() {
		return cash_chain;
	}

	public void setCash_chain(String cash_chain) {
		this.cash_chain = cash_chain;
	}

	public String getCash_YOY() {
		return cash_YOY;
	}

	public void setCash_YOY(String cash_YOY) {
		this.cash_YOY = cash_YOY;
	}

	public int getCost() {
		return cost;
	}

	public void setCost(int cost) {
		this.cost = cost;
	}

	public String getCost_chain() {
		return cost_chain;
	}

	public void setCost_chain(String cost_chain) {
		this.cost_chain = cost_chain;
	}

	public String getCost_YOY() {
		return cost_YOY;
	}

	public void setCost_YOY(String cost_YOY) {
		this.cost_YOY = cost_YOY;
	}

	public int getUser_num() {
		return user_num;
	}

	public void setUser_num(int user_num) {
		this.user_num = user_num;
	}

	public String getUser_num_chain() {
		return user_num_chain;
	}

	public void setUser_num_chain(String user_num_chain) {
		this.user_num_chain = user_num_chain;
	}

	public String getUser_num_YOY() {
		return user_num_YOY;
	}

	public void setUser_num_YOY(String user_num_YOY) {
		this.user_num_YOY = user_num_YOY;
	}

	public int getArpu() {
		return arpu;
	}

	public void setArpu(int arpu) {
		this.arpu = arpu;
	}

	public String getArpu_chain() {
		return arpu_chain;
	}

	public void setArpu_chain(String arpu_chain) {
		this.arpu_chain = arpu_chain;
	}

	public String getArpu_YOY() {
		return arpu_YOY;
	}

	public void setArpu_YOY(String arpu_YOY) {
		this.arpu_YOY = arpu_YOY;
	}

	public static Map<String, String> getNamemap() {
		return nameMap;
	}

}
